﻿namespace PMS.Client.DataService
{
    using PMS.Model;
    using System;
    using System.CodeDom.Compiler;
    using System.ServiceModel;

    [GeneratedCode("System.ServiceModel", "4.0.0.0"), ServiceContract(ConfigurationName="DataService.IDataService")]
    public interface IDataService
    {
        [OperationContract(Action="http://tempuri.org/IDataService/DownloadFile", ReplyAction="http://tempuri.org/IDataService/DownloadFileResponse")]
        byte[] DownloadFile(string requestFileName);
        [OperationContract(Action="http://tempuri.org/IDataService/DoWork", ReplyAction="http://tempuri.org/IDataService/DoWorkResponse")]
        string DoWork();
        [OperationContract(Action="http://tempuri.org/IDataService/GetVersion", ReplyAction="http://tempuri.org/IDataService/GetVersionResponse")]
        Update GetVersion();
        [OperationContract(Action="http://tempuri.org/IDataService/UploadFile", ReplyAction="http://tempuri.org/IDataService/UploadFileResponse")]
        bool UploadFile(string fileName, byte[] fileData);
    }
}

